<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <form action="#">

        用户名：<input type="text" value="jack" maxlength="15"
                   minlength="6" name="username" placeholder="请输入用户名"><br>
        密码: <input type="password" name="password" placeholder="请输入密码"><br>
        <input type="radio" name="gender" value="m" id="r1"><label for="r1">男</label>
        <input type="radio" name="gender" value="w" checked id="r2"><label for="r2">女</label>
        <br>

        <!--多选框/复选框-->
        兴趣爱好：<input type="checkbox" name="like" value="cj">唱歌
        <input type="checkbox" name="like" value="tq">弹琴
        <input type="checkbox" name="like" value="ds">读书

        <!--日期选择器-->
        <input type="date" name="birthday"><br>

        <!--文件选择器-->
        照片：<input type="file" name="pic">

        <!-- 练习：下拉框：select -->
        <select name="city">
            <option value="bj">北京</option>
            <option value="sh">上海</option>
            <option value="sx" selected>山西</option>
        </select>

        <br>
        <button type="submit">注册</button>
        <button type="reset">重置</button>
        <button type="button">按钮</button>

    </form>

</body>
</html>
